home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-08-22 | 1.2 KB | 40 lines | [TEXT/GEOL] |
- Item 7655205 22-Aug-89 12:13
-
- From: ANIMATRIXDEV Animatrix, David Goldman,PRT
-
- To: MACAPP.TECH$ MACAPP Tech
-
- cc: MACAPP.TEST MacApp SQA Team,APL
- MACDTS Macintosh Developer Tech. Supt.,APL
-
- Sub: ForceOnScreen problem
-
- Hi!
-
- I am having trouble getting TWindow.ForceOnScreen to work. In my document's
- DoMakeViews method, after creating all the windows/views from templates, I call
- my RestoreWindowPositions method. This method performs:
-
- aWindow := fRunView.GetWindow;
- aWindow.Locate(runLoc.h, runLoc.v, false);
- aWindow.ReSize(runSize.h, runSize.v, false);
- aWindow.ForceOnScreen;
-
- for each window. The code works fine, ie. it restores all the windows to their
- previous positions. However, if I configure the second monitor to be on the
- opposite side of the main screen, the windows are lost in 'monitor' hyperspace.
-
- I noticed that ForceOnScreen uses MoveWindow and SizeWindow when the window is
- not shown, but the Cookbook suggests the method above.
-
- What's up?
-
- Thanks for your time
-
- Steven Marcus@AnimatrixDev
-
-
-
- Config : MacApp 2.0b9, Sys 6.0.3 + 32CQD, Mac II
-
-